package com.badibadi.mail;

import com.badibadi.uniclubber.R;
import com.badibadi.uniclubber.R.layout;
import com.badibadi.uniclubber.R.menu;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class Mail28_32_29_33Activity extends Mail245Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		// setContentView(R.layout.activity_mail28_32_29_33);
	}

	@Override
	protected void DongTaiPeiZhi() {
		// TODO Auto-generated method stub
		TextView tishi = (TextView) this.findViewById(R.id.tishi);
		tishi.setText(getResources().getString(R.string.bumanyi_));
		tishi.setVisibility(View.VISIBLE);
		if (rank.equals("answerer"))// 答方
		{
			Button shedingzhixunfei = (Button) this
					.findViewById(R.id.shedingzhixunfei);
			shedingzhixunfei.setVisibility(View.VISIBLE);
			shedingzhixunfei.setText(getResources().getString(R.string.Not_satisfied_with_reason));
			shedingzhixunfei.setOnClickListener(new View.OnClickListener() {

				@Override
				public void onClick(View v) {
					// TODO Auto-generated method stub
					Intent intent = new Intent(Mail28_32_29_33Activity.this,
							Mail_32_33bumanyiyuanyingActivity.class);
					intent.putExtra("payUserContactShow1Model",
							payUserContactShow1Model);
					intent.putExtra("flags", "1");
					startActivity(intent);
					finish();
				}
			});

		} else// 问方
		{
			Button shedingzhixunfei = (Button) this
					.findViewById(R.id.shedingzhixunfei);
			shedingzhixunfei.setVisibility(View.VISIBLE);
			shedingzhixunfei.setText(getResources().getString(R.string.Not_satisfied_with_reason));
			shedingzhixunfei.setOnClickListener(new View.OnClickListener() {

				@Override
				public void onClick(View v) {
					// TODO Auto-generated method stub
					Intent intent = new Intent(Mail28_32_29_33Activity.this,
							Mail_32_33bumanyiyuanyingActivity.class);
					intent.putExtra("payUserContactShow1Model",
							payUserContactShow1Model);
					intent.putExtra("flags", "0");
					startActivity(intent);
					finish();
				}
			});
		}

	}

}
